package com.lanou.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;


public class SearchItem implements Serializable {
    private Long id;
    @JSONField(name = "item_title")
    private String title;
    @JSONField(name = "item_sell_point")
    private String sell_point;
    @JSONField(name = "item_price")
    private Long price;
    @JSONField(name = "item_image")
    private String image;
    @JSONField(name = "item_cid")
    private Long cid;
    @JSONField(name = "item_cat")
    private String cat;
    @JSONField(name = "item_desc")
    private String item_desc;

    public SearchItem() {
    }

    public SearchItem(Long id, String title, String sell_point, Long price, String image, Long cid, String cat, String item_desc) {
        this.id = id;
        this.title = title;
        this.sell_point = sell_point;
        this.price = price;
        this.image = image;
        this.cid = cid;
        this.cat = cat;
        this.item_desc = item_desc;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSell_point() {
        return sell_point;
    }

    public void setSell_point(String sell_point) {
        this.sell_point = sell_point;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getCat() {
        return cat;
    }

    public void setCat(String cat) {
        this.cat = cat;
    }

    public String getItem_desc() {
        return item_desc;
    }

    public void setItem_desc(String item_desc) {
        this.item_desc = item_desc;
    }
}